package com.alks.function.data.dto.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class SdVendorDto {

    @ApiModelProperty("厂商类别")
    private String typeName;

    private String vendorType;

    @ApiModelProperty("厂商代码")
    private String vendorNo;

    @ApiModelProperty("厂商简称")
    private String vendorAbbr;

    @ApiModelProperty("厂商名称")
    private String vendorName;

    @ApiModelProperty("主要产品")
    private String mainProduct;

    @ApiModelProperty("联系人")
    private String contactPerson;

    @ApiModelProperty("联系人电话")
    private String contactMobile;

    @ApiModelProperty("账期")
    private String phone;

    @ApiModelProperty("地址")
    private String vendorAddr;

    @ApiModelProperty("样品折扣")
    private String sampleDiscount;

    @ApiModelProperty("建档人员")
    private String sysUser;

    @ApiModelProperty("建档日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate sysDate;

    @ApiModelProperty("Y绿")
    private String flag;
}
